from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtjxwcontents import xtjxwcontentsMessageFactory as _



class Ijiaolian(Interface):
    """Description of the Example Type"""

    # -*- schema definition goes here -*-
    jieshao = schema.SourceText(
        title=_(u"jiaolian jianjie"),
        required=False,
        description=_(u"jiaolian jianjie"),
    )
#
    name = schema.TextLine(
        title=_(u"Name"),
        required=True,
        description=_(u"jiaolian name"),
    )

#
    price = schema.Int(
        title=_(u"youhuijiage"),
        required=True,
        description=_(u"youhuijiage"),
    )
#
    district = schema.TextLine(
        title=_(u"diqu"),
        required=False,
        description=_(u"suoshudiqu"),
    )
#
    chekuangzhishu = schema.Int(
        title=_(u"chekuangzhishu"),
        required=False,
        description=_(u"chekuangzhishu,0-10,10 is the best"),
    )
#
    jishuzhishu = schema.Int(
        title=_(u"jishuzhishu"),
        required=False,
        description=_(u"jishuzhishu,0-10,10 is the best"),
    )
#
    shoufei = schema.Int(
        title=_(u"shoufeizhishu"),
        required=False,
        description=_(u"shoufeizhishu,0-10,10 is the best"),
    )
#
    fuwuzhishu = schema.Int(
        title=_(u"fuwuzhishu"),
        required=False,
        description=_(u"fuwuzhishu"),
    )
    renqizhishu = schema.Int(
        title=_(u"renqizhishu"),
        required=False,
        description=_(u"renqizhishu"),
    )
#
    jiaoling = schema.Int(
        title=_(u"jiaoling"),
        required=True,
        description=_(u"jiaoling"),
    )
#
    contact_info = schema.Text(
        title=_(u"contact information"),
        required=True,
        description=_(u"contact information"),
    )
#
